package com.my.goodsmanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author 徐佳辉
 * @date 2020/12/13 15:20
 */
@Data
public class Password {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    /*
    账户名称，密码，简述
     */
    private String name;

    private String password;

    private String state;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
